using System.Collections.Generic;

namespace Medianamik.Client.MVP.Model.DataAccess
{
    public interface IRepository<TPrimitive, TPrimaryKey> where TPrimaryKey : struct
    {
        TPrimitive Get(TPrimaryKey id);
        IEnumerable<TPrimitive> All();
    }
}
